package com.ruoyi.whzj.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 余额变动对象 wh_balancerecord
 * 
 * @author ruoyi
 * @date 2020-10-21
 */
public class WhBalancerecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户Id */
    @Excel(name = "用户Id")
    private String userId;

    private String dateStr;

    /** 用户Id */
    @Excel(name = "用户名称")
    private String userName;

    /** 用户Id */
    @Excel(name = "用户名称")
    private String yongjinUserName;

    /** 余额变动 */
    @Excel(name = "余额变动")
    private BigDecimal balance;

    /** 当前余额 */
    @Excel(name = "当前余额")
    private BigDecimal userBalance;

    /** 操作（1一级佣金2二级佣金3提现4后台修改） */
    @Excel(name = "操作", readConverterExp = "1=一级佣金2二级佣金3提现4后台修改")
    private String operate;

    /** 提成佣金的用户id */
    @Excel(name = "提成佣金的用户id")
    private String yongjinUser;

    private String orderId;

    private String payMoney;

    private String type;

    private BigDecimal front;

    private BigDecimal after;

    private Integer integral;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }
    public void setOperate(String operate) 
    {
        this.operate = operate;
    }

    public String getOperate() 
    {
        return operate;
    }
    public void setYongjinUser(String yongjinUser) 
    {
        this.yongjinUser = yongjinUser;
    }

    public String getYongjinUser() 
    {
        return yongjinUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("balance", getBalance())
            .append("operate", getOperate())
            .append("createTime", getCreateTime())
            .append("yongjinUser", getYongjinUser())
            .toString();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getYongjinUserName() {
        return yongjinUserName;
    }

    public void setYongjinUserName(String yongjinUserName) {
        this.yongjinUserName = yongjinUserName;
    }

    public BigDecimal getUserBalance() {
        return userBalance;
    }

    public void setUserBalance(BigDecimal userBalance) {
        this.userBalance = userBalance;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(String payMoney) {
        this.payMoney = payMoney;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getFront() {
        return front;
    }

    public void setFront(BigDecimal front) {
        this.front = front;
    }

    public BigDecimal getAfter() {
        return after;
    }

    public void setAfter(BigDecimal after) {
        this.after = after;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }
}
